<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-unix;$(NetCoreAppCurrent)-browser</TargetFrameworks>
    <DefineConstants Condition="'$(TargetOS)' == 'browser'">$(DefineConstants);TARGET_BROWSER</DefineConstants>
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
    <NoWarn>$(NoWarn),1718,SYSLIB0013</NoWarn>
    <TestRuntime>true</TestRuntime>
    <IncludeRemoteExecutor>true</IncludeRemoteExecutor>
    <!-- Disable nullability public only feature for NullabilityInfoContextTests -->
    <Features>$(Features.Replace('nullablePublicOnly', '')</Features>

     <!-- some tests require full ICU data, force it -->
    <WasmIncludeFullIcuData>true</WasmIncludeFullIcuData>

    <!-- The test is looking for debugger attributes we would have stripped with NativeAOT -->
    <IlcKeepManagedDebuggerSupport>true</IlcKeepManagedDebuggerSupport>
    <!-- Same for ILLink -->
    <DebuggerSupport>true</DebuggerSupport>
    <!-- Active issue: https://github.com/dotnet/runtime/issues/97809 -->
    <ShouldILStrip>false</ShouldILStrip>
  </PropertyGroup>

  <!--
    Add special trait for running local timezone validation tests on certain devices e.g. in CI to make sure the local timezone is correct and not UTC. Disable these tests otherwise.
  -->
  <PropertyGroup>
    <WithoutCategories Condition="'$(EnableAdditionalTimezoneChecks)' != 'true'">$(WithoutCategories);AdditionalTimezoneChecks</WithoutCategories>
  </PropertyGroup>

  <ItemGroup>
    <RdXmlFile Include="default.rd.xml" />
  </ItemGroup>

  <ItemGroup>
    <Compile Include="$(CommonTestPath)System\EnumTypes.cs" Link="Common\System\EnumTypes.cs" />
    <Compile Include="$(CommonTestPath)System\FunctionPointerTests.cs" Link="Common\System\FunctionPointerTests.cs" />
    <Compile Include="$(CommonTestPath)System\FunctionPointerCallingConventionTests.cs" Link="Common\System\FunctionPointerCallingConventionTests.cs" />
    <Compile Include="$(CommonTestPath)System\FunctionPointerEqualityTests.cs" Link="Common\System\FunctionPointerEqualityTests.cs" />
    <Compile Include="$(CommonTestPath)System\MockType.cs" Link="Common\System\MockType.cs" />
    <Compile Include="$(CommonTestPath)System\ModifiedTypeTests.cs" Link="Common\System\ModifiedTypeTests.cs" />
    <Compile Include="$(CommonTestPath)System\Collections\CollectionAsserts.cs" Link="Common\System\Collections\CollectionAsserts.cs" />
    <Compile Include="$(CommonTestPath)System\Collections\ICollection.Generic.Tests.cs" Link="Common\System\Collections\ICollection.Generic.Tests.cs" />
    <Compile Include="$(CommonTestPath)System\Collections\IEnumerable.Generic.Tests.cs" Link="Common\System\Collections\IEnumerable.Generic.Tests.cs" />
    <Compile Include="$(CommonTestPath)System\Collections\IList.Generic.Tests.cs" Link="Common\System\Collections\IList.Generic.Tests.cs" />
    <Compile Include="$(CommonTestPath)System\Collections\TestBase.Generic.cs" Link="Common\System\Collections\TestBase.Generic.cs" />
    <Compile Include="$(CommonTestPath)System\Collections\TestBase.NonGeneric.cs" Link="Common\System\Collections\TestBase.NonGeneric.cs" />
    <Compile Include="$(CommonTestPath)System\Diagnostics\DebuggerAttributes.cs" Link="Common\System\Diagnostics\DebuggerAttributes.cs" />
    <Compile Include="$(CommonTestPath)System\TimeProviderTests.cs" Link="Common\System\TimeProviderTests.cs" />
    <Compile Include="$(CommonTestPath)Tests\System\StringTests.cs" Link="Common\System\StringTests.cs" />
    <Compile Include="$(CommonTestPath)System\Collections\IDictionary.NonGeneric.Tests.cs" Link="Common\System\Collections\IDictionary.NonGeneric.Tests.cs" />
    <Compile Include="$(CommonTestPath)System\Collections\IList.NonGeneric.Tests.cs" Link="Common\System\Collections\IList.NonGeneric.Tests.cs" />
    <Compile Include="$(CommonTestPath)System\Collections\ICollection.NonGeneric.Tests.cs" Link="Common\System\Collections\ICollection.NonGeneric.Tests.cs" />
    <Compile Include="$(CommonTestPath)System\Collections\IEnumerable.NonGeneric.Tests.cs" Link="Common\System\Collections\IEnumerable.NonGeneric.Tests.cs" />
    <Compile Include="$(CommonTestPath)TestUtilities\System\DisableParallelization.cs" Link="Common\TestUtilities\System\DisableParallelization.cs" />
    <Compile Include="Helpers.cs" />
    <Compile Include="Microsoft\Win32\SafeHandles\CriticalHandleZeroOrMinusOneIsInvalid.cs" />
    <Compile Include="Microsoft\Win32\SafeHandles\SafeHandleZeroOrMinusOneIsInvalid.cs" />
    <Compile Include="System\AccessViolationExceptionTests.cs" />
    <Compile Include="System\ActivatorTests.cs" />
    <Compile Include="System\ActivatorTests.Generic.cs" />
    <Compile Include="System\AmbiguousImplementationExceptionTests.cs" />
    <Compile Include="System\ArgumentExceptionTests.cs" />
    <Compile Include="System\ArgumentNullExceptionTests.cs" />
    <Compile Include="System\ArgumentOutOfRangeExceptionTests.cs" />
    <Compile Include="System\ArithmeticExceptionTests.cs" />
    <Compile Include="System\ArrayTests.cs" />
    <Compile Include="System\ArrayEnumeratorTests.cs" />
    <Compile Include="System\ArraySegmentTests.cs" />
    <Compile Include="System\ArrayTypeMismatchExceptionTests.cs" />
    <Compile Include="System\ApplicationExceptionTests.cs" />
    <Compile Include="System\AttributeTests.cs" />
    <Compile Include="System\Attributes.cs" />
    <Compile Include="System\AttributeUsageAttributeTests.cs" />
    <Compile Include="System\BadImageFormatExceptionTests.cs" />
    <Compile Include="System\Diagnostics\CodeAnalysis\ExperimentalAttributeTests.cs" />
    <Compile Include="System\NumberFormatTestHelper.cs" />
    <Compile Include="System\StringTests.GenericMath.cs" />
    <Compile Include="System\BooleanTests.cs" />
    <Compile Include="System\BufferTests.cs" />
    <Compile Include="System\BooleanTests.GenericMath.cs" />
    <Compile Include="System\ByteTests.cs" />
    <Compile Include="System\CharTests.cs" />
    <Compile Include="System\CLSCompliantAttributeTests.cs" />
    <Compile Include="System\DateOnlyTests.cs" />
    <Compile Include="System\DateTimeTests.cs" />
    <Compile Include="System\DateTimeOffsetTests.cs" />
    <Compile Include="System\DBNullTests.cs" />
    <Compile Include="System\DecimalTests.cs" />
    <Compile Include="System\DelegateTests.cs" />
    <Compile Include="System\Diagnostics\CodeAnalysis\StringSyntaxAttributeTests.cs" />
    <Compile Include="System\DivideByZeroExceptionTests.cs" />
    <Compile Include="System\DoubleTests.cs" />
    <Compile Include="System\DuplicateWaitObjectExceptionTests.cs" />
    <Compile Include="System\EntryPointNotFoundExceptionTests.cs" />
    <Compile Include="System\EnumTests.cs" />
    <Compile Include="System\ExceptionTests.cs" />
    <Compile Include="System\Exception.Helpers.cs" />
    <Compile Include="System\ExecutionEngineExceptionTests.cs" />
    <Compile Include="System\ExternalExceptionTests.cs" />
    <Compile Include="System\EventArgsTests.cs" />
    <Compile Include="System\FieldAccessExceptionTests.cs" />
    <Compile Include="System\FlagsAttributeTests.cs" />
    <Compile Include="System\FormattableStringTests.cs" />
    <Compile Include="System\FormatExceptionTests.cs" />
    <Compile Include="System\GCTests.cs" />
    <Compile Include="System\GuidTests.cs" />
    <Compile Include="System\HalfTests.cs" />
    <Compile Include="System\HandleTests.cs" />
    <Compile Include="System\HashCodeTests.cs" />
    <Compile Include="System\IndexOutOfRangeExceptionTests.cs" />
    <Compile Include="System\IndexTests.cs" />
    <Compile Include="System\Int16Tests.cs" />
    <Compile Include="System\Int32Tests.cs" />
    <Compile Include="System\Int64Tests.cs" />
    <Compile Include="System\Int128Tests.cs" />
    <Compile Include="System\IntPtrTests.cs" />
    <Compile Include="System\InvalidCastExceptionTests.cs" />
    <Compile Include="System\InvalidOperationExceptionTests.cs" />
    <Compile Include="System\InvalidProgramExceptionTests.cs" />
    <Compile Include="System\LazyTests.cs" />
    <Compile Include="System\LazyOfTMetadataTests.cs" />
    <Compile Include="System\MarshalByRefObjectTests.cs" />
    <Compile Include="System\MemberAccessExceptionTests.cs" />
    <Compile Include="System\MethodAccessExceptionTests.cs" />
    <Compile Include="System\MissingFieldExceptionTests.cs" />
    <Compile Include="System\MissingMemberExceptionTests.cs" />
    <Compile Include="System\MissingMethodExceptionTests.cs" />
    <Compile Include="System\MulticastDelegateTests.cs" />
    <Compile Include="System\NotFiniteNumberExceptionTests.cs" />
    <Compile Include="System\NotImplementedExceptionTests.cs" />
    <Compile Include="System\NotSupportedExceptionTests.cs" />
    <Compile Include="System\NullableMetadataTests.cs" />
    <Compile Include="System\NullableTests.cs" />
    <Compile Include="System\NullReferenceExceptionTests.cs" />
    <Compile Include="System\Numerics\IExponentialFunctionsTests.cs" />
    <Compile Include="System\Numerics\IFloatingPointTests.cs" />
    <Compile Include="System\Numerics\TotalOrderIeee754ComparerTests.cs" />
    <Compile Include="System\ObjectTests.cs" />
    <Compile Include="System\ObjectDisposedExceptionTests.cs" />
    <Compile Include="System\ObsoleteAttributeTests.cs" />
    <Compile Include="System\OutOfMemoryExceptionTests.cs" />
    <Compile Include="System\OverflowExceptionTests.cs" />
    <Compile Include="System\ParamArrayAttributeTests.cs" />
    <Compile Include="System\PlatformNotSupportedExceptionTests.cs" />
    <Compile Include="System\PseudoCustomAttributeTests.cs" />
    <Compile Include="System\RangeTests.cs" />
    <Compile Include="System\RankExceptionTests.cs" />
    <Compile Include="System\Reflection\NullabilityInfoContextTests.cs" />
    <Compile Include="System\Reflection\RuntimeTypeMemberCacheTests.cs" />
    <Compile Include="System\SByteTests.cs" />
    <Compile Include="System\SingleTests.cs" />
    <Compile Include="System\StackOverflowExceptionTests.cs" />
    <Compile Include="System\String.SplitTests.cs" />
    <Compile Include="System\StringComparerTests.cs" />
    <Compile Include="System\StringGetHashCodeTests.cs" />
    <Compile Include="System\StringSplitExtensions.cs" />
    <Compile Include="System\StringTests.cs" />
    <Compile Include="System\SystemExceptionTests.cs" />
    <Compile Include="System\Text\CompositeFormatTests.cs" />
    <Compile Include="System\Text\StringBuilderReplaceTests.cs" />
    <Compile Include="System\TimeOnlyTests.cs" />
    <Compile Include="System\TimeoutExceptionTests.cs" />
    <Compile Include="System\TimeSpanTests.cs" />
    <Compile Include="System\TimeZoneInfoTests.cs" />
    <Compile Include="System\TimeZoneTests.cs" />
    <Compile Include="System\TimeZoneNotFoundExceptionTests.cs" />
    <Compile Include="System\TypedReferenceTests.cs" />
    <Compile Include="System\TypeLoadExceptionTests.cs" />
    <Compile Include="System\TypeUnloadedExceptionTests.cs" />
    <Compile Include="System\TupleTests.cs" />
    <Compile Include="System\Type\FunctionPointerTests.Runtime.cs" />
    <Compile Include="System\UInt16Tests.cs" />
    <Compile Include="System\UInt32Tests.cs" />
    <Compile Include="System\UInt64Tests.cs" />
    <Compile Include="System\UInt128Tests.cs" />
    <Compile Include="System\UIntPtrTests.cs" />
    <Compile Include="System\UnitySerializationHolderTests.cs" />
    <Compile Include="System\Uri.CreateStringTests.cs" />
    <Compile Include="System\Uri.CreateUriTests.cs" />
    <Compile Include="System\Uri.MethodsTests.cs" />
    <Compile Include="System\UseResourceKeysTest.cs" />
    <Compile Include="System\ValueTypeTests.cs" />
    <Compile Include="System\VersionTests.cs" />
    <Compile Include="System\WeakReferenceTests.cs" />
    <Compile Include="System\AppContext\AppContextTests.cs" />
    <Compile Include="System\AppContext\AppContextTests.Switch.cs" />
    <Compile Include="System\AppContext\AppContextTests.Switch.Validation.cs" />
    <Compile Include="System\Collections\Generic\KeyNotFoundExceptionTests.cs" />
    <Compile Include="System\Collections\Generic\KeyValuePairTests.cs" />
    <Compile Include="System\Collections\ObjectModel\CollectionTests.cs" />
    <Compile Include="System\Collections\ObjectModel\CollectionTestBase.cs" />
    <Compile Include="System\Collections\ObjectModel\ReadOnlyCollectionTests.cs" />
    <Compile Include="System\ComponentModel\DefaultValueAttributeTests.cs" />
    <Compile Include="System\ComponentModel\EditorBrowsableAttributeTests.cs" />
    <Compile Include="System\Diagnostics\ConditionalAttributeTests.cs" />
    <Compile Include="System\Diagnostics\CodeAnalysis\ConstantExpectedAttributeTests.cs" />
    <Compile Include="System\Diagnostics\CodeAnalysis\DynamicallyAccessedMembersAttributeTests.cs" />
    <Compile Include="System\Diagnostics\CodeAnalysis\DynamicDependencyAttributeTests.cs" />
    <Compile Include="System\Diagnostics\CodeAnalysis\FeatureGuardAttributeTests.cs" />
    <Compile Include="System\Diagnostics\CodeAnalysis\FeatureSwitchDefinitionAttributeTests.cs" />
    <Compile Include="System\Diagnostics\CodeAnalysis\RequiresAssemblyFilesAttributeTests.cs" />
    <Compile Include="System\Diagnostics\CodeAnalysis\RequiresDynamicCodeAttributeTests.cs" />
    <Compile Include="System\Diagnostics\CodeAnalysis\RequiresUnreferencedCodeAttributeTests.cs" />
    <Compile Include="System\Diagnostics\CodeAnalysis\SetsRequiredMembersAttributeTests.cs" />
    <Compile Include="System\Diagnostics\CodeAnalysis\UnconditionalSuppressMessageAttributeTests.cs" />
    <Compile Include="System\Diagnostics\StackTraceHiddenAttributeTests.cs" />
    <Compile Include="System\Diagnostics\UnreachableExceptionTests.cs" />
    <Compile Include="System\IO\DirectoryNotFoundExceptionTests.cs" />
    <Compile Include="System\IO\DirectoryNotFoundException.InteropTests.cs" />
    <Compile Include="System\IO\EndOfStreamExceptionTests.cs" />
    <Compile Include="System\IO\Exceptions.HResults.cs" />
    <Compile Include="System\IO\FileLoadExceptionTests.cs" />
    <Compile Include="System\IO\FileLoadException.InteropTests.cs" />
    <Compile Include="System\IO\FileNotFoundExceptionTests.cs" />
    <Compile Include="System\IO\FileNotFoundException.InteropTests.cs" />
    <Compile Include="System\IO\IOExceptionTests.cs" />
    <Compile Include="System\IO\PathTooLongExceptionTests.cs" />
    <Compile Include="System\IO\PathTooLongException.InteropTests.cs" />
    <Compile Include="System\Reflection\AssemblyAlgorithmIdAttributeTests.cs" />
    <Compile Include="System\Reflection\AssemblyCompanyAttributeTests.cs" />
    <Compile Include="System\Reflection\AssemblyConfigurationAttributeTests.cs" />
    <Compile Include="System\Reflection\AssemblyCopyrightAttributeTests.cs" />
    <Compile Include="System\Reflection\AssemblyCultureAttributeTests.cs" />
    <Compile Include="System\Reflection\AssemblyDefaultAliasAttributeTests.cs" />
    <Compile Include="System\Reflection\AssemblyDelaySignAttributeTests.cs" />
    <Compile Include="System\Reflection\AssemblyDescriptionAttributeTests.cs" />
    <Compile Include="System\Reflection\AssemblyFileVersionAttributeTests.cs" />
    <Compile Include="System\Reflection\AssemblyFlagsAttributeTests.cs" />
    <Compile Include="System\Reflection\AssemblyInformationalVersionAttributeTests.cs" />
    <Compile Include="System\Reflection\AssemblyKeyFileAttributeTests.cs" />
    <Compile Include="System\Reflection\AssemblyKeyNameAttributeTests.cs" />
    <Compile Include="System\Reflection\AssemblyMetadataAttributeTests.cs" />
    <Compile Include="System\Reflection\AssemblyProductAttributeTests.cs" />
    <Compile Include="System\Reflection\AssemblySignatureKeyAttributeTests.cs" />
    <Compile Include="System\Reflection\AssemblyTitleAttributeTests.cs" />
    <Compile Include="System\Reflection\AssemblyTrademarkAttributeTests.cs" />
    <Compile Include="System\Reflection\AssemblyVersionAttributeTests.cs" />
    <Compile Include="System\Reflection\BindingFlagsDoNotWrap.cs" />
    <Compile Include="System\Reflection\CustomAttributeDataTests.cs" />
    <Compile Include="System\Reflection\CustomAttributesTestData.cs" />
    <Compile Include="System\Reflection\CustomAttribute_Named_Typed_ArgumentTests.cs" />
    <Compile Include="System\Reflection\DefaultMemberAttributeTests.cs" />
    <Compile Include="System\Reflection\FunctionPointerTestsExtensions.cs" />
    <Compile Include="System\Reflection\InvokeRefReturn.cs" />
    <Compile Include="System\Reflection\InvokeWithRefLikeArgs.cs" />
    <Compile Include="System\Reflection\IsCollectibleTests.cs" />
    <Compile Include="System\Reflection\FieldInfoTests.cs" />
    <Compile Include="System\Reflection\MethodBaseTests.cs" />
    <Compile Include="System\Reflection\MethodBodyTests.cs" />
    <Compile Include="System\Reflection\ModuleTests.cs" />
    <Compile Include="System\Reflection\ObfuscateAssemblyAttributeTests.cs" />
    <Compile Include="System\Reflection\ObfuscationAttributeTests.cs" />
    <Compile Include="System\Reflection\PointerTests.cs" />
    <Compile Include="System\Reflection\ReflectionCacheTests.cs" />
    <Compile Include="System\Reflection\ReflectionContextTests.cs" />
    <Compile Include="System\Reflection\ReflectionTypeLoadExceptionTests.cs" />
    <Compile Include="System\Reflection\StrongNameKeyPairTests.cs" />
    <Compile Include="System\Reflection\TypeDelegatorTests.cs" />
    <Compile Include="System\Reflection\TypeTests.Get.CornerCases.cs" />
    <Compile Include="System\Reflection\TypeTests.GetMember.cs" />
    <Compile Include="System\Runtime\ControlledExecutionTests.cs" />
    <Compile Include="System\Runtime\DependentHandleTests.cs" />
    <Compile Include="System\Runtime\JitInfoTests.cs" />
    <Compile Include="System\Runtime\MemoryFailPointTests.cs" />
    <Compile Include="System\Runtime\NgenServicingAttributesTests.cs" />
    <Compile Include="System\Runtime\CompilerServices\AttributesTests.cs" />
    <Compile Include="System\Runtime\CompilerServices\ConditionalWeakTableTests.cs" />
    <Compile Include="System\Runtime\CompilerServices\DefaultInterpolatedStringHandlerTests.cs" />
    <Compile Include="System\Runtime\CompilerServices\FormattableStringFactoryTests.cs" />
    <Compile Include="System\Runtime\CompilerServices\StrongBoxTests.cs" />
    <Compile Include="System\Runtime\CompilerServices\ParamCollectionAttributeTests.cs" />
    <Compile Include="System\Runtime\CompilerServices\RuntimeHelpersTests.cs" />
    <Compile Include="System\Runtime\ConstrainedExecution\PrePrepareMethodAttributeTests.cs" />
    <Compile Include="System\Runtime\ExceptionServices\HandleProcessCorruptedStateExceptions.cs" />
    <Compile Include="System\Runtime\Serialization\OptionalFieldAttributeTests.cs" />
    <Compile Include="System\Runtime\Serialization\SerializationExceptionTests.cs" />
    <Compile Include="System\Runtime\Serialization\StreamingContextTests.cs" />
    <Compile Include="System\Runtime\Versioning\OSPlatformAttributeTests.cs" />
    <Compile Include="System\Runtime\Versioning\RequiresPreviewFeaturesAttributeTests.cs" />
    <Compile Include="System\Security\SecurityAttributeTests.cs" />
    <Compile Include="System\Security\SecurityExceptionTests.cs" />
    <Compile Include="System\Text\StringBuilderTests.cs" />
    <Compile Include="System\Text\StringBuilderInterpolationTests.cs" />
    <Compile Include="System\Threading\PeriodicTimerTests.cs" />
    <Compile Include="System\Threading\WaitHandleTests.cs" />
    <Compile Include="System\Type\TypePropertyTests.cs" />
    <Compile Include="System\Type\TypeTests.cs" />
    <Compile Include="System\Type\TypeTests.Get.cs" />
    <Compile Include="$(CommonTestPath)System\RandomDataGenerator.cs" Link="Common\System\RandomDataGenerator.cs" />
  </ItemGroup>

  <ItemGroup Condition="'$(TargetPlatformIdentifier)' == 'unix' or '$(TargetPlatformIdentifier)' == 'browser'">
    <Compile Include="System\ExitCodeTests.Unix.cs" />
  </ItemGroup>

  <ItemGroup>
    <Compile Include="$(CommonTestPath)System\GenericMathHelpers.cs" Link="Common\System\GenericMathHelpers.cs" />
    <Compile Include="System\Numerics\DimTests.GenericMath.cs" />
    <Compile Include="System\Numerics\GenericMathDimHelpers.cs" />
    <Compile Include="System\Numerics\IBinaryNumberTests.cs" />
    <Compile Include="System\ByteTests.GenericMath.cs" />
    <Compile Include="System\CharTests.GenericMath.cs" />
    <Compile Include="System\DecimalTests.GenericMath.cs" />
    <Compile Include="System\DoubleTests.GenericMath.cs" />
    <Compile Include="System\HalfTests.GenericMath.cs" />
    <Compile Include="System\Int16Tests.GenericMath.cs" />
    <Compile Include="System\Int32Tests.GenericMath.cs" />
    <Compile Include="System\Int64Tests.GenericMath.cs" />
    <Compile Include="System\Int128Tests.GenericMath.cs" />
    <Compile Include="System\IntPtrTests.GenericMath.cs" />
    <Compile Include="System\SByteTests.GenericMath.cs" />
    <Compile Include="System\SingleTests.GenericMath.cs" />
    <Compile Include="System\UInt16Tests.GenericMath.cs" />
    <Compile Include="System\UInt32Tests.GenericMath.cs" />
    <Compile Include="System\UInt64Tests.GenericMath.cs" />
    <Compile Include="System\UInt128Tests.GenericMath.cs" />
    <Compile Include="System\UIntPtrTests.GenericMath.cs" />
  </ItemGroup>

  <ItemGroup>
    <Compile Include="System\Reflection\SignatureTypes.cs" />
    <Compile Include="System\Runtime\CompilerServices\CallerArgumentExpressionAttributeTests.cs" />
    <Compile Include="System\Runtime\CompilerServices\MethodImplAttributeTests.cs" />
    <Compile Include="System\Runtime\CompilerServices\RuntimeFeatureTests.cs" />
    <Compile Include="System\Runtime\CompilerServices\RuntimeWrappedExceptionTests.cs" />
    <Compile Include="System\Runtime\ExceptionServices\ExceptionDispatchInfoTests.cs" />
    <Compile Include="System\Text\EncodingTests.cs" />
    <Compile Include="System\Text\RuneTests.cs" />
    <Compile Include="System\Text\RuneTests.TestData.cs" />
    <Compile Include="System\Text\Unicode\Utf16UtilityTests.ValidateChars.cs" />
    <Compile Include="System\Text\Unicode\Utf8Tests.cs" />
    <Compile Include="System\Text\Unicode\Utf8Tests.TryWrite.cs" />
    <Compile Include="System\Text\Unicode\Utf8UtilityTests.ValidateBytes.cs" />
    <Compile Include="System\ArgIteratorTests.cs" />
    <Compile Include="$(CommonPath)..\tests\System\RealFormatterTestsBase.cs" Link="System\RealFormatterTestsBase.cs" />
    <Compile Include="System\RealFormatterTests.cs" />
    <Compile Include="$(CommonPath)..\tests\System\RealParserTestsBase.cs" Link="System\RealParserTestsBase.cs" />
    <Compile Include="System\RealParserTests.cs" />

    <TrimmerRootDescriptor Include="$(ILLinkDescriptorsPath)ILLink.Descriptors.Castle.xml" />
    <TrimmerRootDescriptor Include="$(MSBuildThisFileDirectory)ILLink.Descriptors.xml" />
  </ItemGroup>

  <ItemGroup>
    <Compile Include="$(CommonTestPath)System\Collections\IEnumerable.Generic.Serialization.Tests.cs" Link="Common\System\Collections\IEnumerable.Generic.Serialization.Tests.cs" />
    <EmbeddedResource Include="System\Reflection\EmbeddedImage.png">
      <LogicalName>System.Reflection.Tests.EmbeddedImage.png</LogicalName>
    </EmbeddedResource>
    <EmbeddedResource Include="System\Reflection\EmbeddedTextFile.txt">
      <LogicalName>System.Reflection.Tests.EmbeddedTextFile.txt</LogicalName>
    </EmbeddedResource>
    <Compile Include="$(CommonTestPath)System\Runtime\Serialization\Formatters\BinaryFormatterHelpers.cs" Link="Common\System\Runtime\Serialization\Formatters\BinaryFormatterHelpers.cs" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Moq" Version="$(MoqVersion)" />
    <PackageReference Include="System.Runtime.Numerics.TestData" Version="$(SystemRuntimeNumericsTestDataVersion)" GeneratePathProperty="true" />

    <ProjectReference Include="$(CommonPath)..\tests\System\TestILAssembly\TestILAssembly.ilproj" Link="Common\System\TestILAssembly\TestILAssembly.ilproj" />
    <ProjectReference Include="TestLoadAssembly\TestLoadAssembly.csproj" />
    <ProjectReference Include="TestCollectibleAssembly\TestCollectibleAssembly.csproj" />
    <ProjectReference Include="TestModule\System.Reflection.TestModule.ilproj" />
    <ProjectReference Include="TestStructs\System.TestStructs.ilproj" />
    <ProjectReference Include="$(CommonTestPath)TestUtilities.Unicode\TestUtilities.Unicode.csproj" />
    <!-- Used during reflection in tests. -->
    <ProjectReference Include="$(LibrariesProjectRoot)System.Security.Permissions\src\System.Security.Permissions.csproj" />
    <ProjectReference Include="$(LibrariesProjectRoot)System.Threading.AccessControl\src\System.Threading.AccessControl.csproj" />
  </ItemGroup>
</Project>
